ASP.Net runs from within IIS, I'm going to assume that IIS is already installed and configured. First, check to see if you already have the .NET Framework installed. The easiest was to do this is to look in add/remove programs for the Microsoft .NET Framework 1.1 Go to the location where the Framework is installed, probably located at C:\WINDOWS\Microsoft.NET\Framework. You will find your version of .NET, mine was v1.1.4322. If you don't have it installed, you can download it from here.
At the dos prompt run %windir%\Microsoft.NET\Framework\ v1.1.4322\aspnet_regiis.exe -i regsvr32 %windir%\Microsoft.NET\Framework\ v1.1.4322\aspnet_isapi.dll
(use the framework version you have, remember that mine was v1.1.4322) Now create a test page. I called mine, time.aspx.
<%@ Page Language="C#" ContentType="text/html" ResponseEncoding="iso-8859-1" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Untitled Document</title> </head> <body> <h1>hello it is <% Response.Write(DateTime.Now.ToString()); %></h1> </body> </html>
And test it out by runing http://localhost/time.aspx
Viola .NET is installed.